<!DOCTYPE html>
<html>

	<head>

		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">

		<title>后台 - 主页</title>
		<meta name="keywords" content="">
		<meta name="description" content="">

		<link rel="shortcut icon" href="favicon.ico">
		<link href="__PUBLIC__/Admin/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
		<link href="__PUBLIC__/Admin/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">

		<!-- Morris -->
		<link href="__PUBLIC__/Admin/css/plugins/morris/morris-0.4.3.min.css" rel="stylesheet">

		<!-- Gritter -->
		<link href="__PUBLIC__/Admin/js/plugins/gritter/jquery.gritter.css" rel="stylesheet">

		<link href="__PUBLIC__/Admin/css/animate.min.css" rel="stylesheet">
		<link href="__PUBLIC__/Admin/css/style.min862f.css?v=4.1.0" rel="stylesheet">

	</head>

	<body class="gray-bg">
		<div class="wrapper wrapper-content">
			<div class="row">
				<div class="col-sm-6">
	                <div class="ibox float-e-margins">
	                    <div class="ibox-title">
	                        <h5>统计</h5>
	                        <div class="ibox-tools">
	                            <a class="collapse-link">
	                                <i class="fa fa-chevron-up"></i>
	                            </a>
	                        </div>
	                    </div>
	                    <div class="ibox-content">
	
	                        <table class="table table-bordered">
	                            <thead>
	                                <tr>
	                                    <th>周期</th>
	                                    <th>会员数（人）</th>
	                                </tr>
	                            </thead>
	                            <tbody>
	                                <tr>
	                                    <td>今日</td>
	                                    <td>{$today}</td>
	                                </tr>
	                                <tr>
	                                    <td>本周</td>
	                                    <td>{$week}</td>
	                                </tr>
	                                <tr>
	                                    <td>本月</td>
	                                    <td>{$month}</td>
	                                </tr>
	                                <tr style="color: red;">
	                                    <td>总计</td>
	                                    <td>{$user}</td>
	                                </tr>
	                            </tbody>
	                        </table>
	                         <table class="table table-bordered">
	                            <thead>
	                                <tr>
	                                    <th>波比</th>
	                                    <th>{$bb}%</th>
	                                </tr>
	                            </thead>
	                        </table>
	                    </div>
	                </div>
	            </div>

	            							<!--<if condition="$Think.session.admin.role_id eq 0">-->
			<!---->
					<!--<div class="col-sm-6">-->
		                <!--<div class="ibox float-e-margins">-->
		                    <!--<div class="ibox-title">-->
		                        <!--<h5>平台挖矿情况</h5>-->
		                        <!--<div class="ibox-tools">-->
		                            <!--<a class="collapse-link">-->
		                                <!--<i class="fa fa-chevron-up"></i>-->
		                            <!--</a>-->
		                        <!--</div>-->
		                    <!--</div>-->
		                    <!--<div class="ibox-content">-->
		<!---->
		                        <!--<table class="table table-bordered">-->
		                            <!--<thead>-->
		                                <!--<tr>-->
		                                    <!--<th>周期</th>-->
		                                    <!--<th>被偷取</th>-->
		                                    <!--<th>已收取</th>-->
		                                    <!--<th>总计</th>-->
		                                <!--</tr>-->
		                            <!--</thead>-->
		                            <!--<tbody>-->
		                                <!--<tr>-->
		                                    <!--<td>昨日</td>-->
		                                    <!--<td>{$add_today_miner|default=0}</td>-->
		                                    <!--<td>{$del_today_miner|default=0}</td>-->
		                                    <!--<td>{$add_today_miner-$del_today_miner}</td>-->
		                                <!--</tr>-->
		                                <!--<tr>-->
		                                    <!--<td>本周</td>-->
		                                    <!--<td>{$add_week_miner|default=0}</td>-->
		                                    <!--<td>{$del_week_miner|default=0}</td>-->
		                                    <!--<td>{$add_week_miner-$del_week_miner}</td>-->
		                                <!--</tr>-->
		                                <!--<tr>-->
		                                    <!--<td>本月</td>-->
		                                    <!--<td>{$add_month_miner|default=0}</td>-->
		                                    <!--<td>{$del_month_miner|default=0}</td>-->
		                                    <!--<td>{$add_month_miner-$del_month_miner}</td>-->
		                                <!--</tr>-->
		                            <!--</tbody>-->
		                        <!--</table>-->
		                    <!--</div>-->
		                <!--</div>-->
		            <!--</div>-->
			<!--</if>-->


			</div>
			
<!-- 			<if condition="$Think.session.admin.role_id neq 0">
				<div class="row">
					<img src="__ROOT__/{$Think.session.admin.erweima}"/>
					<h3>推广二维码</h3>
				</div>
			</if>	 -->
			
			<if condition="$Think.session.admin.role_id eq 0">
				<div class="row">
					<div class="col-sm-6">
		                <div class="ibox float-e-margins">
		                    <div class="ibox-title">
		                        <h5>平台充值情况</h5>
		                        <div class="ibox-tools">
		                            <a class="collapse-link">
		                                <i class="fa fa-chevron-up"></i>
		                            </a>
		                        </div>
		                    </div>
		                    <div class="ibox-content">
		
		                        <table class="table table-bordered">
		                            <thead>
		                                <tr>
		                                    <th>周期</th>
		                                    <th>充值</th>
		                                    <!--<th>提现</th>-->
		                                    <th>总计</th>
		                                </tr>
		                            </thead>
		                            <tbody>
		                                <tr>
		                                    <td>今日</td>
		                                    <td>{$add_today|default=0}</td>
		                                    <!--<td>{$del_today|default=0}</td>-->
		                                    <td>{$add_today-$del_today}</td>
		                                </tr>
		                                <tr>
		                                    <td>本周</td>
		                                    <td>{$add_week|default=0}</td>
		                                    <!--<td>{$del_week|default=0}</td>-->
		                                    <td>{$add_week-$del_week}</td>
		                                </tr>
		                                <tr>
		                                    <td>本月</td>
		                                    <td>{$add_month|default=0}</td>
		                                    <!--<td>{$del_month|default=0}</td>-->
		                                    <td>{$add_month-$del_month}</td>
		                                </tr>
		                            </tbody>
		                        </table>
		                    </div>
		                </div>
		            </div>
				</div>
			</if>

			
		</div>

		<script src="__PUBLIC__/Admin/js/jquery.min.js?v=2.1.4"></script>
		<script src="__PUBLIC__/Admin/js/bootstrap.min.js?v=3.3.6"></script>
		<script src="__PUBLIC__/Admin/js/plugins/flot/jquery.flot.js"></script>
		<script src="__PUBLIC__/Admin/js/plugins/flot/jquery.flot.tooltip.min.js"></script>
		<script src="__PUBLIC__/Admin/js/plugins/flot/jquery.flot.spline.js"></script>
		<script src="__PUBLIC__/Admin/js/plugins/flot/jquery.flot.resize.js"></script>
		<script src="__PUBLIC__/Admin/js/plugins/flot/jquery.flot.pie.js"></script>
		<script src="__PUBLIC__/Admin/js/plugins/flot/jquery.flot.symbol.js"></script>
		<script src="__PUBLIC__/Admin/js/plugins/peity/jquery.peity.min.js"></script>
		<script src="__PUBLIC__/Admin/js/demo/peity-demo.min.js"></script>
		<script src="__PUBLIC__/Admin/js/content.min.js?v=1.0.0"></script>
		<script src="__PUBLIC__/Admin/js/plugins/jquery-ui/jquery-ui.min.js"></script>
		<script src="__PUBLIC__/Admin/js/plugins/jvectormap/jquery-jvectormap-1.2.2.min.js"></script>
		<script src="__PUBLIC__/Admin/js/plugins/jvectormap/jquery-jvectormap-world-mill-en.js"></script>
		<script src="__PUBLIC__/Admin/js/plugins/easypiechart/jquery.easypiechart.js"></script>
		<script src="__PUBLIC__/Admin/js/plugins/sparkline/jquery.sparkline.min.js"></script>
		<script src="__PUBLIC__/Admin/js/demo/sparkline-demo.min.js"></script>
	</body>
	
</html>